Refactor the gtk_print_operation_run() code and add an _async version.
authorMatthias Clasen <mclasen@redhat.com>
Mon, 24 Apr 2006 17:00:44 +0000 (17:00 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 24 Apr 2006 17:00:44 +0000 (17:00 +0000)
commit2e9cc2f6931541fa5b0d2a3c0ce0670b91f53c03
tree3546e5be3c8364728647e0433724127ff7884040
parent7261cff2d77aadb404bd8ddb0293e7f2cdc7e98b
Refactor the gtk_print_operation_run() code and add an _async version.

2006-04-24  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols:
* gtk/gtkprintoperation.c (gtk_print_operation_run_async): Refactor the
gtk_print_operation_run() code and add an _async version.

* gtk/gtkprintoperation-private.h:
* gtk/gtkprintoperation-unix.c
(_gtk_print_operation_platform_backend_run_dialog_async)
(gtk_print_run_page_setup_dialog_async): Variants of the run functions
which don't call gtk_dialog_run(), but only show the dialog and return,
and handle the response in a signal handler.

* gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog_async)
(_gtk_print_operation_platform_backend_run_dialog_async): Implement these
by calling the sync versions.
ChangeLog
ChangeLog.pre-2-10
gtk/gtk.symbols
gtk/gtkprintoperation-private.h
gtk/gtkprintoperation-unix.c
gtk/gtkprintoperation-win32.c
gtk/gtkprintoperation.c